package com.example.epidemic_assistant.util;

import android.util.Log;

import java.util.Random;

public class NumberUtil {

    /**
     * 随机生成随机数
     * @param scope 范围
     * @return
     */
    public static int getRandomNumber(int scope) {
        Random ra =new Random();
        return ra.nextInt(scope) + 1;
    }
}
